import request from '@/utils/request';

export async function reqTyBaseFormulaDetailList(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormulaDetail/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyBaseFormulaDetail(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormulaDetail/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyBaseFormulaDetail(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormulaDetail/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyBaseFormulaDetail(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormulaDetail/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


